

function ZhhSessionStorage_setItem(key, value) {
    window.sessionStorage.setItem(key, value);
}

function ZhhSessionStorage_getItem(key) {
    return window.sessionStorage.getItem(key);
}

function ZhhSessionStorage_removeItem(key) {
    window.sessionStorage.removeItem(key);
}

function ZhhSessionStorage_clear() {
    let keys = ['userInfo', 'roomCode'];
    keys.forEach(k => ZhhSessionStorage_removeItem(k));
}